<?
/*
CONFIG.INC.PHP
This file includes all site configuration variables
*/
$rootDir = "/home/tcntrans/public_html/";         // Absolute path for all file uploads
$siteURL = 'http://www.tcntransition.org';
// Image Upload Variables
$maxFileSize = 5000000;
$mimeTypeArray = array();
// Database Connection
$dbname = 'tcntransition';
$dbhost = 'cougar.wou.edu';$dbuser = 'tcntransition';
$dbpass = 'transit';
$db = mysql_connect($dbhost,$dbuser,$dbpass);

// Page title & meta tag defaults
$defaultDesc     = "";
$defaultKeywords = "";
$defaultTitle    = "Welcome to the Transition Community Network";
$siteName        = "TCN";

// Some email parameters
$masterMail = "johnsop@wou.edu";
$masterFrom = "The Transition Community Network";
$webmasterMail = "dentonj@wou.edu";
$siteOwnerMail = 'johnsop@wou.edu';

define('EMAIL_WEBMASTER',  'dentonj@wou.edu');
define('EMAIL_SITE_OWNER', 'johnsop@wou.edu');
define('EMAIL_ASSISTANT1', 'fewxa@wou.edu');
define('EMAIL_ASSISTANT2', 'dentonj@wou.edu');
define('MASTER_MAIL',      'johnsop@wou.edu');
define('MASTER_FROM',      'The Transition Community Network');
define('GOOGLE_MAP_KEY',   'ABQIAAAA7a_GQ4svKixjK2GoGR2A4BQChR0rfYfMd1p6pEjoaVrLNk0wihQ5CtSu1uj3rHcqvErieJJOSd93hQ');
// Some switches
$mostPopular = 0;  // Display Most Popular section on viewResources.php
// Poll bar color array
$pollBarArray = array('bar_red.gif','bar_yellow.gif','bar_blue.gif','bar_purple.gif','bar_brown.gif','bar_gray.gif','bar_khaki.gif','bar_green.gif');$currentPage = $_SERVER[PHP_SELF];
// ***** MAIN MENU PATH VARIABLES ************************************
$mainPathArray      = array('/s','/a','/p','/t','/e','/sp');
$mainPathTitleArray = array('Students','Administrators','Parents','Teachers','Employers','Service Providers');
// ***** SITE ADS ****************************************************
$adArray = array('phpAds','phpAds'); // All ad types currently on site
$amount = count($adArray);; // Number of ad types
srand((double)microtime()*1000000);
$randomAdType = rand(1,($amount)); 
$randomAdType = $adArray[$randomAdType-1];
?>